Automated Pattern-Based Pointcut Generation

نویسندگان

  • Mathieu Braem
  • Kris Gybels
  • Andy Kellens
  • Wim Vanderperren
چکیده

One of the main problems in Aspect-Oriented Software Development is the so-called fragile pointcut problem. Uncovering and specifying a good robust pointcut is not an easy task. In this paper we propose to use Inductive Logic Programming, and more specifically the FOIL algorithm, to automatically identify intentional pattern-based pointcuts. We present the toolchain we implemented to induce a pointcut given a set of identified joinpoints. Using several realistic medium-scale experiments, we show that our approach is able to automatically induce robust pointcuts for a set of joinpoints.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

On the Problems of the JPMs

Increasingly, aspect-oriented programming (AOP) [1] has been considered to pursue a better modularization of object-oriented programs, especially when representing crosscutting concerns. However, current aspect-oriented frameworks such as AspectJ [2], AspectWerkz [3], JMangler [4] and others, operate in a way directly related to the code. They define some points in the computational flow, named...

متن کامل

A Classification of Pointcut Language Constructs pdfauthor

Aspect-oriented systems provide pointcut languages in order to specify selection criteria for join points which in turn will be adapted. However, a closer look into current pointcut languages reveals that there are large differences among them. Consequently different aspect-oriented system permit to specify different selection criteria. This also means that it is in general hard to state whethe...

متن کامل

Dataflow Pointcut in Aspect-Oriented Programming

A dataflow-based pointcut is proposed for aspect-oriented programming (AOP) languages. The pointcut specifies where aspects should be applied based on the origins of values. It is designed to be compatible with the other kinds of pointcuts in existing AOP languages. Primary application fields of the pointcut are the aspects in which flow of information is important, such as security. This paper...

متن کامل

PointcutDoctor: IDE Support for Understanding and Diagnosing Pointcut Expressions

Writing correct AspectJ pointcuts is hard. This is partly because of the complexity of the pointcut language and also partly because it requires understanding how the pointcut matches across the entire code base. In this demonstration we present PointcutDoctor, an extension of AJDT tools which helps developers write correct pointcuts by providing immediate diagnostic feedback. PointcutDoctor pr...

متن کامل

Inducing Evolution-Robust Pointcuts

One of the problems in Aspect-Oriented Software Development is specifying pointcuts that are robust with respect to evolution of the base program. We propose to use Inductive Logic Programming, and more specifically the FOIL algorithm, to automatically discover intensional pattern-based pointcuts. In this paper we demonstrate this approach using several experiments in Java, where we successfull...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006